/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment.Rectangle;

import za.ac.cput.assignment.square.Shape;

/**
 *
 * @author samkelo
 */
public class Rectangle implements Shape {
       private String name;
       
       
       public Rectangle()
       {
               
       }
       public Rectangle(String nm)
       {
       
           name = nm;
       }
       
    @Override
    public int NumSides(int sides) {
        return sides;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    
    
    
}
